package com.cqut.service;

import java.io.InputStream;
import java.util.Map;

import com.cqut.dto.DownloadFileDTO;
import com.cqut.dto.LoginInfoDTO;

public interface IAttachmentService {

	Map<String, Object> uploadFile(String filenName, String fileType,InputStream input);
	
	DownloadFileDTO downloadFile(String fileId, String assObjId,String format);
	
	Map<String, Object> uploadFileByFormat(String fileName, String fileType,
			InputStream input);

	byte[] downloadFile(String fileId);

	Map<String, Object> uploadAndResolve(String originalFilename,
			String contentType, InputStream inputStream, LoginInfoDTO loginInfoDTO);
}
